package com.yehun.exception;

import com.yehun.enums.ResultEnum;

/**
 * 参数错误异常
 * Created by Genius on 2017/3/27 0027.
 */
public class ParameterException extends CustomException {

    private static final long serialVersionUID = 3437047042843971335L;

    public ParameterException(ResultEnum code) {
        super(code);
    }

    public ParameterException(String message) {
        super(message);
    }

    public ParameterException(Throwable cause) {
        super(cause);
    }

    public ParameterException(String message, Throwable cause) {
        super(message, cause);
    }

    public ParameterException(ResultEnum code, String message) {
        super(code, message);
    }

}
